USE [HR_DB]
GO
if exists(select * from dbo.sysobjects where id = object_id(N'engage_interview')   and   OBJECTPROPERTY(id,   N'IsUserTable')   =   1)   
  drop table engage_interview  
-- =============================================
-- Author:杨洁(kaixuanpisces)
-- Create date: 20090826
-- Description:面试表
-- =============================================
CREATE TABLE [dbo].[engage_interview](
	[ein_id] [smallint] IDENTITY(1,1) NOT NULL,
	[human_name] [varchar](60) NULL,
	[interview_amount] [smallint] NULL,
	[human_major_kind_id] [char](2) NULL,
	[human_major_kind_name] [varchar](30) NULL,
	[human_major_id] [char](2) NULL,
	[human_major_name] [varchar](30) NULL,
	[image_degree] [varchar](20) NULL,
	[native_language_degree] [varchar](20) NULL,
	[foreign_language_degree] [varchar](20) NULL,
	[response_speed_degree] [varchar](20) NULL,
	[EQ_degree] [varchar](20) NULL,
	[IQ_degree] [varchar](20) NULL,
	[multi_quality_degree] [varchar](20) NULL,
	[register] [varchar](60) NULL,
	[checker] [varchar](60) NULL,
	[registe_time] [datetime] NULL,
	[check_time] [datetime] NULL,
	[resume_id] [smallint] NULL,
	[result] [varchar](20) NULL,
	[interview_comment] [text] NULL,
	[check_comment] [text] NULL,
	[interview_status] [smallint] NULL,
	[check_status] [smallint] NULL,
 CONSTRAINT [engage_interview_PK] PRIMARY KEY CLUSTERED 
(
	[ein_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
-- ==============================================
-- 列名说明
-- ==============================================
GO
SET ANSI_PADDING OFF
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键，自动增长列' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'ein_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'姓名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'human_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试次数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'interview_amount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'职位分类编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'human_major_kind_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'职位分类名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'human_major_kind_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'职位编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'human_major_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'职位名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'human_major_name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'形象等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'image_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'口才等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'native_language_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外语水平等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'foreign_language_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'应变能力' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'response_speed_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'EQ等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'EQ_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'IQ_等级' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'IQ_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'综合素质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'multi_quality_degree'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'register'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'筛选人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'checker'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'registe_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'筛选时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'check_time'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'简历编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'resume_id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试结果' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'result'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试评价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'interview_comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'筛选评价' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'check_comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'面试状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'interview_status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'筛选状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'engage_interview', @level2type=N'COLUMN',@level2name=N'check_status'